package com.erp.itm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.itm.dao.ProjectLogDao;
import com.erp.itm.domain.ProjectLogDO;
import com.erp.itm.service.ProjectLogService;



@Service
public class ProjectLogServiceImpl implements ProjectLogService {
	@Autowired
	private ProjectLogDao projectLogDao;
	
	@Override
	public ProjectLogDO get(Long id){
		return projectLogDao.get(id);
	}
	
	@Override
	public List<ProjectLogDO> list(Map<String, Object> map){
		return projectLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return projectLogDao.count(map);
	}
	
	@Override
	public int save(ProjectLogDO projectLog){
		return projectLogDao.save(projectLog);
	}
	
	@Override
	public int update(ProjectLogDO projectLog){
		return projectLogDao.update(projectLog);
	}
	
	@Override
	public int remove(Long id){
		return projectLogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return projectLogDao.batchRemove(ids);
	}
	
}
